[INFO] cloning repository https://github.com/yan049/os_project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yan049/os_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyan049%2Fos_project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyan049%2Fos_project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8dc0adf84efeda005f7e0442b50cffbad2fb7730
[INFO] fixing yan049/os_project against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyan049%2Fos_project" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/yan049/os_project
[INFO] finished tweaking git repo https://github.com/yan049/os_project
[INFO] tweaked toml for git repo https://github.com/yan049/os_project written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yan049/os_project on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yan049/os_project already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded riscv v0.12.1
[INFO] [stderr]   Downloaded riscv-macros v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d7676203b54a3dbca842907946d6f52cf8263aaa0cc8eac8db32c0d5489836fb
[INFO] running `Command { std: "docker" "start" "d7676203b54a3dbca842907946d6f52cf8263aaa0cc8eac8db32c0d5489836fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7676203b54a3dbca842907946d6f52cf8263aaa0cc8eac8db32c0d5489836fb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7676203b54a3dbca842907946d6f52cf8263aaa0cc8eac8db32c0d5489836fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7676203b54a3dbca842907946d6f52cf8263aaa0cc8eac8db32c0d5489836fb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling riscv v0.12.1
[INFO] [stderr]    Compiling os v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]     Checking riscv-pac v0.2.0
[INFO] [stderr]     Checking embedded-hal v1.0.0
[INFO] [stderr]     Checking zero v0.1.3
[INFO] [stderr]    Compiling syn v2.0.93
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking xmas-elf v0.10.0
[INFO] [stderr]     Checking buddy_system_allocator v0.11.0
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling riscv-macros v0.1.0
[INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | / fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 54 | |     println!("Panicked: {}", info);
[INFO] [stdout] 55 | |     sbi::legacy::shutdown()
[INFO] [stdout] 56 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/622891a4e29178280638a6b63a8908bde2c0c854/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`os`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a7`: unknown register
[INFO] [stdout]   --> src/sbi.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |                     in("a7") $eid, lateout("a0") err,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |         call!(SET_TIMER; timer);
[INFO] [stdout]    |         ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> src/sbi.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 |                     in("a7") $eid, lateout("a0") err,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |         call!(SET_TIMER; timer);
[INFO] [stdout]    |         ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `os` (bin "os" test) due to 2 previous errors
[INFO] [stdout] error: invalid register `a6`: unknown register
[INFO] [stdout]   --> src/sbi.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |                     in("a6") $fid, lateout("a1") ret,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |         call!(SET_TIMER; timer);
[INFO] [stdout]    |         ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: invalid register `a1`: unknown register
[INFO] [stdout]   --> src/sbi.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |                     in("a6") $fid, lateout("a1") ret,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |         call!(SET_TIMER; timer);
[INFO] [stdout]    |         ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> src/sbi.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | ...             $(in("a0") $arg0, $(in("a1") $arg1, $(in("a2") $arg2, $(in("a3") $arg3, $(in("a4") $arg4, $(in("a5") $arg5)?)?)?)?)?)?
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 | ...   call!(SET_TIMER; timer);
[INFO] [stdout]    |       ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a7`: unknown register
[INFO] [stdout]   --> src/sbi.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |                     in("a7") $eid, lateout("a0") err,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |         call!(CONSOLE_PUTCHAR; char);
[INFO] [stdout]    |         ---------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> src/sbi.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 |                     in("a7") $eid, lateout("a0") err,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |         call!(CONSOLE_PUTCHAR; char);
[INFO] [stdout]    |         ---------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a6`: unknown register
[INFO] [stdout]   --> src/sbi.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |                     in("a6") $fid, lateout("a1") ret,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |         call!(CONSOLE_PUTCHAR; char);
[INFO] [stdout]    |         ---------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a1`: unknown register
[INFO] [stdout]   --> src/sbi.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |                     in("a6") $fid, lateout("a1") ret,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |         call!(CONSOLE_PUTCHAR; char);
[INFO] [stdout]    |         ---------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> src/sbi.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | ...             $(in("a0") $arg0, $(in("a1") $arg1, $(in("a2") $arg2, $(in("a3") $arg3, $(in("a4") $arg4, $(in("a5") $arg5)?)?)?)?)?)?
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 | ...   call!(CONSOLE_PUTCHAR; char);
[INFO] [stdout]    |       ---------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a7`: unknown register
[INFO] [stdout]   --> src/sbi.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |                     in("a7") $eid, lateout("a0") err,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |         call!(CONSOLE_GETCHAR;)
[INFO] [stdout]    |         ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> src/sbi.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 |                     in("a7") $eid, lateout("a0") err,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |         call!(CONSOLE_GETCHAR;)
[INFO] [stdout]    |         ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a6`: unknown register
[INFO] [stdout]   --> src/sbi.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |                     in("a6") $fid, lateout("a1") ret,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |         call!(CONSOLE_GETCHAR;)
[INFO] [stdout]    |         ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a1`: unknown register
[INFO] [stdout]   --> src/sbi.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |                     in("a6") $fid, lateout("a1") ret,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |         call!(CONSOLE_GETCHAR;)
[INFO] [stdout]    |         ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a7`: unknown register
[INFO] [stdout]   --> src/sbi.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |                     in("a7") $eid, lateout("a0") err,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |         call!(SHUTDOWN;);
[INFO] [stdout]    |         ---------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> src/sbi.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 |                     in("a7") $eid, lateout("a0") err,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |         call!(SHUTDOWN;);
[INFO] [stdout]    |         ---------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a6`: unknown register
[INFO] [stdout]   --> src/sbi.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |                     in("a6") $fid, lateout("a1") ret,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |         call!(SHUTDOWN;);
[INFO] [stdout]    |         ---------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a1`: unknown register
[INFO] [stdout]   --> src/sbi.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |                     in("a6") $fid, lateout("a1") ret,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |         call!(SHUTDOWN;);
[INFO] [stdout]    |         ---------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]    --> src/trap.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |             in("a0") trap_frame_ptr,      // a0 = virt addr of Trap Context
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a1`: unknown register
[INFO] [stdout]    --> src/trap.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             in("a1") user_satp,        // a1 = phy addr of usr page table
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `os` (bin "os") due to 21 previous errors
[INFO] running `Command { std: "docker" "inspect" "d7676203b54a3dbca842907946d6f52cf8263aaa0cc8eac8db32c0d5489836fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7676203b54a3dbca842907946d6f52cf8263aaa0cc8eac8db32c0d5489836fb", kill_on_drop: false }`
[INFO] [stdout] d7676203b54a3dbca842907946d6f52cf8263aaa0cc8eac8db32c0d5489836fb
